Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added kfp presubmit v2 test #890

Merged

Conversation

capri-xiyue
Copy link
Contributor

added kfp presubmit v2 test

@capri-xiyue
Copy link
Contributor Author

related to kubeflow/pipelines#5802

- name: kubeflow-pipelines-v2-test
cluster: build-kubeflow
decorate: true
run_if_changed: "^(v2/.*)|(v2/test/presubmit-v2-tests.sh)$"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: v2/* already includes the test folder

run_if_changed: "^(v2/.*)|(v2/test/presubmit-v2-tests.sh)$"
spec:
containers:
- image: gcr.io/google.com/cloudsdktool/cloud-sdk:latest
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note, some go tests depend on a real MLMD server at localhost:8080. I think we need one more container for the MLMD server, but I've never set up a sidecar in prow tests before. We need to debug this.

Another approach can be running this test in a KFP pipeline.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need side car or another KFP pipeline if we added kubectl port-fprward in the script kubeflow/pipelines@57ebac9#diff-88dcf2f21baa096c2451b3d3dfbc18ad795f135bc4b260721d259345aebf1b73R35?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ohh, good point! I missed the kubectl port-forward command.
Ideally we should test with an empty MLMD db, because some common code path will only run once, but this is good enough for now.

@Bobgy
Copy link
Contributor

Bobgy commented Jun 8, 2021

/lgtm
/approve

@google-oss-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Bobgy, capri-xiyue

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-robot google-oss-robot merged commit d65e385 into GoogleCloudPlatform:master Jun 8, 2021
@google-oss-robot
Copy link
Collaborator

@capri-xiyue: Updated the job-config configmap in namespace default at cluster default using the following files:

  • key kubeflow-pipelines-presubmits.yaml using file prow/prowjobs/kubeflow/pipelines/kubeflow-pipelines-presubmits.yaml

In response to this:

added kfp presubmit v2 test

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants